package com.ruan.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.service.IService;
import com.ruan.common.Result;
import com.ruan.pojo.LTODetailCondition;
import com.ruan.pojo.LTOQueryCondition;
import com.ruan.pojo.OverTime;
import com.ruan.pojo.QuerySelfAttendanceCondition;

import java.util.List;

public interface OverTimeService extends IService<OverTime> {

//    Result selectOverTimeDetailByPhoneAndDate(LTODetailCondition ltoDetailCondition);
//    List<OverTime>
//    List<OverTime> getAudit();

    void agreed(Integer id,Integer adminId);

    void refuse(Integer id,Integer adminId);

    void submitOverTime(OverTime overTime);

    IPage<OverTime> getSelfOverTime(int currentPage, int pageSize, QuerySelfAttendanceCondition querySelfAttendanceCondition);

    void cancelLeave(Integer id);


}
